# Contributor: Dennis Krupenik <dennis@krupenik.com>
# Maintainer: Dennis Krupenik <dennis@krupenik.com>
pkgname=clinfo
pkgver=3.0.23.01.25
pkgrel=0
pkgdesc="Print all known information about all available OpenCL platforms and devices in the system"
url="https://github.com/Oblomov/clinfo"
arch="all"
license="CC0-1.0"
makedepends="opencl-headers opencl-icd-loader-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/Oblomov/clinfo/archive/$pkgver.tar.gz"
subpackages="$pkgname-doc"
options="!check" # no upstream test suite

build() {
	make
}

package() {
	make BINDIR="$pkgdir"/usr/bin MANDIR="$pkgdir"/usr/share/man  install
}

sha512sums="
c8e0f33a304a64f1fb4b4ffecb2a62bc10fb5e9777cc8d0cd44bf551e5c94141f04d4cafd28fe6e796bc365e356027297fc9c91359b23b152b1c98d9a128515c  clinfo-3.0.23.01.25.tar.gz
"
